package cn.dnui_cr503.dnuifood_16110100503.service;

import cn.dnui_cr503.dnuifood_16110100503.bean.Mebean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by chengrui on 2018/12/3.
 */

public interface MeService {
    @GET("getUserById.do")
    Call<Mebean> getUserById(@Query("user_id") String user_id);

    @GET("updateUserById.do")
    Call<Mebean> updateUserById(@Query("user_id") String user_id,
                                @Query("username") String username,
                                @Query("userpass") String userpass,
                                @Query("mobilenum") String mobilenum,
                                @Query("address") String address
                                );
}
